//
//  CNServiceDataManager.h
//  CarNote
//
//  Created by linshili on 13-9-17.
//  Copyright (c) 2013年 linshili. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CNServiceInfo.h"

@interface CNServiceDataManager : NSObject

+ (id)shareInstance;

- (BOOL)saveServiceInfo:(CNServiceInfo *)serviceInfo;
- (NSArray *)queryServiceInfoFromTimestamp:(NSUInteger)fromTimestamp toTimestamp:(NSUInteger)toTimestamp;
- (NSArray *)queryServiceInfoFromIndex:(NSInteger)index withCount:(NSInteger)count;
- (NSInteger)serviceInfoCount;
- (BOOL)deleteServiceInfoWithTimestamp:(NSUInteger)timestamp;


@end
